package com.project.bean;

public class UserBean {

    //用户名
    private String userName;
    //密码
    private String password;
    //余额
    private double account;

    public UserBean() {
    }

    public UserBean(String userName, String password, double account) {
        this.userName = userName;
        this.password = password;
        this.account = account;
    }



    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public double getAccount() {
        return account;
    }

    public void setAccount(double account) {
        this.account = account;
    }

    @Override
    public String toString() {
        return "UserBean{" +
                "userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                ", account=" + account +
                '}';
    }
}
